//
//  ToolMethod.h
//  XinDong
//
//  Created by tt on 12-11-12.
//  Copyright (c) 2012年 HengYongKeJi. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface ToolMethod : NSObject

+ (void)showAlert:(NSString*)message delegate:(id)delegate;

+(UIImage*) formatUploadImage:(UIImage*)photoimage;

+ (NSString *)distanceFromMetoX:(NSString *)xPoint toY:(NSString *)yPoint;

+ (NSString *)getAgeWith:(int)birthday;

+ (NSString*)escapeTwitterTime:(NSString*)timestamp;

+ (NSString *)escapeActivityTime:(NSString*)timestamp;

+ (NSString*)getMachine;
@end